package demo12;

import java.io.File;
import java.io.IOException;

/**
 * @author Huangjin
 * @version 1.0
 * describe:
 * @date 2023/3/6 17:41
 */
public class Test01 {
    public static void main(String[] args) throws IOException {
        for (int i = 1; i <=100 ; i++) {
            File file = new File(i+".txt");
            if (!file.exists()){
                file.createNewFile();
            }
        }
        System.out.println("创建完成！");
    }
}
